package com.dlc.shop.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dlc.shop.bean.model.OrderVirtualVerifyLog;
import com.dlc.shop.bean.vo.OrderVirtualVerifyLogVO;
import com.dlc.shop.dao.OrderVirtualVerifyLogMapper;
import com.dlc.shop.service.OrderVirtualVerifyLogService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 订单虚拟商品核销记录
 *
 * @author LGH
 * @date 2023-03-07 16:48:15
 */
@Service
@AllArgsConstructor
public class OrderVirtualVerifyLogServiceImpl extends ServiceImpl<OrderVirtualVerifyLogMapper, OrderVirtualVerifyLog> implements OrderVirtualVerifyLogService {

    private final OrderVirtualVerifyLogMapper orderVirtualVerifyLogMapper;

    @Override
    public List<OrderVirtualVerifyLog> listByWriteOffCode(String writeOffCode) {
        return orderVirtualVerifyLogMapper.listByWriteOffCode(writeOffCode);
    }

    @Override
    public OrderVirtualVerifyLogVO getByOrderNumber(String orderNumber) {
        return orderVirtualVerifyLogMapper.getByOrderNumber(orderNumber);
    }
}
